package my.mybatis.common.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import my.mybatis.common.response.base.Result;

import java.io.Serializable;

/**
 * @Author:wangbin.
 * @Description.
 * @Date:Created in 18:30 2017/9/18.
 * @Modified By:
 */
@ApiModel(value = "InfoResult", description = "单数据格式结果")
public class InfoResult<T> extends Result implements Serializable{
    private static final long serialVersionUID = -3172824020467249071L;
    @ApiModelProperty(value = "单条数据信息")
    private T data;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
